package com.walter.weixin.bridge.server.feign.impl;

import com.walter.weixin.bridge.facade.feign.DemoFeign;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Walter
 * @date 2025/1/19 下午11:29
 **/
@RestController
@Slf4j
public class DemoFeignImpl implements DemoFeign {
    @Override
    public String getUser(Long id) {
        log.info("weixin getUser:{}",id);
        return "userInfo:"+id;
    }

    @Override
    public String getId(Long id) {
        log.info("weixin getId:{}",id);
        return "getId:"+id;
    }
}
